package ae.pcfc.etks.online.common.domain;

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TTscLicType entity. @author Mohtisham.Salahria
 */
@Entity
@Table(name = "T_TSC_LIC_TYPE", schema = "TSC_RW")
public class TTscLicType implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String ltCode;
	private String ltDesc;
	private String ltDescArb;
	private String ltStatus;
	private String ltCreateduser;
	private Date ltCreatedtime;
	private String ltModifieduser;
	private Date ltModifiedtime;

	// Constructors

	/** default constructor */
	public TTscLicType() {
	}

	/** full constructor */
	public TTscLicType(String ltDesc, String ltDescArb, String ltStatus,
			String ltCreateduser, Date ltCreatedtime, String ltModifieduser,
			Date ltModifiedtime) {
		this.ltDesc = ltDesc;
		this.ltDescArb = ltDescArb;
		this.ltStatus = ltStatus;
		this.ltCreateduser = ltCreateduser;
		this.ltCreatedtime = ltCreatedtime;
		this.ltModifieduser = ltModifieduser;
		this.ltModifiedtime = ltModifiedtime;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "LT_CODE", unique = true, nullable = false, length = 10)
	public String getLtCode() {
		return this.ltCode;
	}

	public void setLtCode(String ltCode) {
		this.ltCode = ltCode;
	}

	@Column(name = "LT_DESC", length = 100)
	public String getLtDesc() {
		return this.ltDesc;
	}

	public void setLtDesc(String ltDesc) {
		this.ltDesc = ltDesc;
	}

	@Column(name = "LT_DESC_ARB", length = 100)
	public String getLtDescArb() {
		return this.ltDescArb;
	}

	public void setLtDescArb(String ltDescArb) {
		this.ltDescArb = ltDescArb;
	}

	@Column(name = "LT_STATUS", length = 10)
	public String getLtStatus() {
		return this.ltStatus;
	}

	public void setLtStatus(String ltStatus) {
		this.ltStatus = ltStatus;
	}

	@Column(name = "LT_CREATEDUSER", length = 50)
	public String getLtCreateduser() {
		return this.ltCreateduser;
	}

	public void setLtCreateduser(String ltCreateduser) {
		this.ltCreateduser = ltCreateduser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "LT_CREATEDTIME", length = 7)
	public Date getLtCreatedtime() {
		return this.ltCreatedtime;
	}

	public void setLtCreatedtime(Date ltCreatedtime) {
		this.ltCreatedtime = ltCreatedtime;
	}

	@Column(name = "LT_MODIFIEDUSER", length = 50)
	public String getLtModifieduser() {
		return this.ltModifieduser;
	}

	public void setLtModifieduser(String ltModifieduser) {
		this.ltModifieduser = ltModifieduser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "LT_MODIFIEDTIME", length = 7)
	public Date getLtModifiedtime() {
		return this.ltModifiedtime;
	}

	public void setLtModifiedtime(Date ltModifiedtime) {
		this.ltModifiedtime = ltModifiedtime;
	}

}